﻿//Write a boolean expression that checks for given integer 
//if it can be divided (without remainder) by 7 and 5 in the same time.

using System;

namespace DevideByFiveAndSeven
{
    class Devide
    {
        static void Main()
        {
            Console.Write("Please enter a number: ");
            int a = int.Parse(Console.ReadLine());
            Console.WriteLine((a % 5 == 0) && (a % 7 == 0) ? "The number can be devided by 5 and 7." : "The number cannot be devided by 5 and 7.");
        }
    }
}
